<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/9/21 0021
 * Time: 下午 10:15
 */
defined('BASEPATH') OR exit('No direct script access allowed');
 class Product extends CI_Controller
 {
     public function __construct()
     {
         parent::__construct();
         $this->load->database();
         $this->load->helper('url');
     }

     public function index()
     {
         $data['title']='产品服务';

         $this->load->model('House_model');
         $data['house']=$this->House_model->faceData();
         //渲染页面
         $this->load->view('home/header',$data);   //公共的头部
         $this->load->view('home/product_service',$data);  //主体内容
         $this->load->view('home/footer',$data);  //尾部

     }













 }